const mongoose = require('mongoose')
const schema = new mongoose.Schema({
    title: String,
    path: String,
    image: String,
    date: {
        type: Date,
        default: Date.now
    }
})

module.exports = mongoose.model('Swiper', schema)